package top.xia17.plugins.demo.config;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 全局配置
 *
 * @author xia17
 * @date 2021/6/23 11:19
 */
@Getter
@Setter
@Accessors(chain = true)
@ConfigurationProperties(prefix = "global")
@Configuration
public class GlobalProperties {

    /**
     * 是否测试环境
     */
    private Boolean isDev = false;


}
